﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace GanoESB
{
    /// <summary>
    /// 服务描述符
    /// </summary>
    [Serializable]
    [DataContract]
    public class ServiceDescriptor
    {
        /// <summary>
        /// 服务名称
        /// </summary>
        [DataMember]
        public string ServiceName { get; set; }

        /// <summary>
        /// 组件名称
        /// </summary>
        [DataMember]
        public string ComponentName { get; set; }

        /// <summary>
        /// 部署文件
        /// </summary>
        [DataMember]
        public string DeploymentFile { get; set; }

        /// <summary>
        /// 服务接口
        /// </summary>
        [DataMember]
        public string ServiceInterface { get; set; }

        /// <summary>
        /// 服务实现类
        /// </summary>
        [DataMember]
        public string ServiceClazz { get; set; }

        /// <summary>
        /// 服务Url
        /// </summary>
        [DataMember]
        public string ServiceUrl { get; set; }

        /// <summary>
        /// 绑定
        /// </summary>
        [DataMember]
        public string Binding { get; set; }

        /// <summary>
        /// 拦载器类型
        /// </summary>
        [DataMember]
        public string[] Interceptors { get; set; }
    }
}
